[INFO] cloning repository https://github.com/Live4dreamCH/leetcode_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Live4dreamCH/leetcode_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLive4dreamCH%2Fleetcode_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLive4dreamCH%2Fleetcode_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ff7cf81fab53729991ad1652f701d2f17ea72f8
[INFO] checking Live4dreamCH/leetcode_rs against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLive4dreamCH%2Fleetcode_rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Live4dreamCH/leetcode_rs on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Live4dreamCH/leetcode_rs
[INFO] finished tweaking git repo https://github.com/Live4dreamCH/leetcode_rs
[INFO] tweaked toml for git repo https://github.com/Live4dreamCH/leetcode_rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Live4dreamCH/leetcode_rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0757645d348935a2fa72bec04b8e0d6ff847b15a1ef67f21a00541b1aa37a92b
[INFO] running `Command { std: "docker" "start" "-a" "0757645d348935a2fa72bec04b8e0d6ff847b15a1ef67f21a00541b1aa37a92b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0757645d348935a2fa72bec04b8e0d6ff847b15a1ef67f21a00541b1aa37a92b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0757645d348935a2fa72bec04b8e0d6ff847b15a1ef67f21a00541b1aa37a92b", kill_on_drop: false }`
[INFO] [stdout] 0757645d348935a2fa72bec04b8e0d6ff847b15a1ef67f21a00541b1aa37a92b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5141c0dc6b46d1c78f0ade126dd9d4145169e078d8bda9a14a3de649e5979355
[INFO] running `Command { std: "docker" "start" "-a" "5141c0dc6b46d1c78f0ade126dd9d4145169e078d8bda9a14a3de649e5979355", kill_on_drop: false }`
[INFO] [stderr]     Checking leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]    --> src/bin/lc1825.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |     use std::collections::HashMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/bin/oral17_05.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/bin/oral17_05.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `array`
[INFO] [stdout]  --> src/bin/oral17_05.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn find_longest_subarray(array: Vec<String>) -> Vec<String> {
[INFO] [stdout]   |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_array`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/lc1096.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let mut tokenizer = Lexer::from(expression.as_bytes().iter());
[INFO] [stdout]   |             ----^^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/lc1096.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let mut root = self.expr(lexer)?;
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AB` is never constructed
[INFO] [stdout]   --> src/main.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct AB {}
[INFO] [stdout]    |        ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexer`
[INFO] [stdout]    --> src/bin/lc1096.rs:113:20
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn expr(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/lc1096.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let mut node = ParseTreeNode {
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexer`
[INFO] [stdout]    --> src/bin/lc1096.rs:125:21
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn union(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexer`
[INFO] [stdout]    --> src/bin/lc1096.rs:130:22
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn concat(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Union`, `Concat`, and `Id` are never constructed
[INFO] [stdout]   --> src/bin/lc1096.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | enum Symbol {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] 74 |     Expr,
[INFO] [stdout] 75 |     Union,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 76 |     Concat,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 77 |     Id(String),
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `curr` and `children` are never read
[INFO] [stdout]   --> src/bin/lc1096.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct ParseTreeNode {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 82 |     curr: Symbol,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 83 |     children: Vec<Symbol>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `root` is never read
[INFO] [stdout]   --> src/bin/lc1096.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct ParseTree {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 87 |     root: ParseTreeNode,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `visited_path` is never read
[INFO] [stdout]   --> src/bin/lc1096.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct RecursiveDecent {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 98 |     visited_path: VecDeque<(Symbol, bool)>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `union` and `concat` are never used
[INFO] [stdout]    --> src/bin/lc1096.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl RecursiveDecent {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     fn union(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     fn concat(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visited`
[INFO] [stdout]  --> src/bin/lc1601.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let mut visited = vec![requests[0][0]];
[INFO] [stdout]   |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visited`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]  --> src/bin/lc1601.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn maximum_requests(n: i32, requests: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |                             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/lc1601.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let mut requests = requests;
[INFO] [stdout]   |             ----^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/lc1601.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let mut visited = vec![requests[0][0]];
[INFO] [stdout]   |             ----^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MonoStack` is never constructed
[INFO] [stdout]  --> src/bin/algo/mono_stack.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct MonoStack<'a, T: Ord> {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push_once`, `push`, `pop`, and `top` are never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<'a, T: Ord> MonoStack<'a, T> {
[INFO] [stdout]    | --------------------------------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new(array: &Vec<T>, order: Ordering, strict: bool) -> MonoStack<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn push_once(&mut self, item: usize) -> Result<Option<usize>, usize> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn push(&mut self, item: usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn pop(&mut self) -> Option<usize> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn top(&self) -> Option<&usize> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/lc1096.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let mut tokenizer = Lexer::from(expression.as_bytes().iter());
[INFO] [stdout]   |             ----^^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/lc1096.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let mut root = self.expr(lexer)?;
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexer`
[INFO] [stdout]    --> src/bin/lc1096.rs:113:20
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn expr(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/lc1096.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let mut node = ParseTreeNode {
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexer`
[INFO] [stdout]    --> src/bin/lc1096.rs:125:21
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn union(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexer`
[INFO] [stdout]    --> src/bin/lc1096.rs:130:22
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn concat(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Union`, `Concat`, and `Id` are never constructed
[INFO] [stdout]   --> src/bin/lc1096.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | enum Symbol {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] 74 |     Expr,
[INFO] [stdout] 75 |     Union,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 76 |     Concat,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 77 |     Id(String),
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `curr` and `children` are never read
[INFO] [stdout]   --> src/bin/lc1096.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct ParseTreeNode {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 82 |     curr: Symbol,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 83 |     children: Vec<Symbol>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `root` is never read
[INFO] [stdout]   --> src/bin/lc1096.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct ParseTree {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 87 |     root: ParseTreeNode,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `visited_path` is never read
[INFO] [stdout]   --> src/bin/lc1096.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct RecursiveDecent {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 98 |     visited_path: VecDeque<(Symbol, bool)>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `union` and `concat` are never used
[INFO] [stdout]    --> src/bin/lc1096.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl RecursiveDecent {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     fn union(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     fn concat(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visited`
[INFO] [stdout]  --> src/bin/lc1601.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let mut visited = vec![requests[0][0]];
[INFO] [stdout]   |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visited`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]  --> src/bin/lc1601.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn maximum_requests(n: i32, requests: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |                             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/lc1601.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let mut requests = requests;
[INFO] [stdout]   |             ----^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/lc1601.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let mut visited = vec![requests[0][0]];
[INFO] [stdout]   |             ----^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/bin/lc982.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/bin/lc982.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AB` is never constructed
[INFO] [stdout]   --> src/main.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct AB {}
[INFO] [stdout]    |        ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bit_set`
[INFO] [stdout]  --> src/bin/lc982.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let bit_set=0;
[INFO] [stdout]   |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_set`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]  --> src/bin/lc982.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn count_triplets(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `1`
[INFO] [stdout]   --> src/bin/lc1615.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 |         count_map.iter()
[INFO] [stdout]    |                         ^ help: add `;` here
[INFO] [stdout] 22 |         1
[INFO] [stdout]    |         - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push` is never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<'a, T: Ord> MonoStack<'a, T> {
[INFO] [stdout]    | --------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn push(&mut self, item: usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "lc1615" test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/bin/lc1825.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | struct MKAverage {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 7  |     m: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 8  |     k: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 9  |     queue: VecDeque<i32>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 10 |     middle_set: OrderedMutiSet<i32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 11 |     small_set: OrderedMutiSet<i32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 12 |     large_set: OrderedMutiSet<i32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 13 |     sum_middle: i32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MKAverage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `balance_sets`, `add_element`, and `calculate_mk_average` are never used
[INFO] [stdout]    --> src/bin/lc1825.rs:21:8
[INFO] [stdout]     |
[INFO] [stdout] 20  | impl MKAverage {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 21  |     fn new(m: i32, k: i32) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33  |     fn balance_sets(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68  |     fn add_element(&mut self, num: i32) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn calculate_mk_average(&self) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MonoStack` is never constructed
[INFO] [stdout]  --> src/bin/algo/mono_stack.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct MonoStack<'a, T: Ord> {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push_once`, `push`, `pop`, and `top` are never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<'a, T: Ord> MonoStack<'a, T> {
[INFO] [stdout]    | --------------------------------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new(array: &Vec<T>, order: Ordering, strict: bool) -> MonoStack<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn push_once(&mut self, item: usize) -> Result<Option<usize>, usize> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn push(&mut self, item: usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn pop(&mut self) -> Option<usize> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn top(&self) -> Option<&usize> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `count_map` and `length` are never read
[INFO] [stdout]  --> src/bin/algo/ordered_multi_set.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct OrderedMutiSet<T: Ord + Copy> {
[INFO] [stdout]   |            -------------- fields in this struct
[INFO] [stdout] 5 |     count_map: BTreeMap<T, u32>,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 6 |     length: usize,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `OrderedMutiSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl<T: Ord + Copy> OrderedMutiSet<T> {
[INFO] [stdout]    | ------------------------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn push(&mut self, item: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn pop_min(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn pop_max(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn peek_min(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn peek_max(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn remove_one(&mut self, item: &T) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5141c0dc6b46d1c78f0ade126dd9d4145169e078d8bda9a14a3de649e5979355", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5141c0dc6b46d1c78f0ade126dd9d4145169e078d8bda9a14a3de649e5979355", kill_on_drop: false }`
[INFO] [stdout] 5141c0dc6b46d1c78f0ade126dd9d4145169e078d8bda9a14a3de649e5979355
